﻿<%@ Page Title="Setting" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true"
    CodeBehind="Config.aspx.cs" Inherits="VSM.Config" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        <asp:UpdatePanel ID="updatePanel" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <asp:HiddenField ID="hdnCustomerCode" runat="server" />
                   <asp:HiddenField ID="hdnID" runat="server" />
                <h2>&nbsp;Setting</h2>
                <div style="margin-left: 5px; width: 99%;">
                    <hr />
                    <table border="0" width="100%" style="background-color: #D1D4D8;">
                        <tr>
                            <td class="FormLineItemAlt" style="width: 150px">
                                <asp:Label ID="lblCustomerCode" runat="server" Text="Customer Code:" />
                            </td>
                            <td class="FormLineItemAlt" valign="middle" style="width: 250px">
                                <asp:TextBox ID="txtCustomerCode" runat="server" BackColor="#E6E6E6"
                                    ReadOnly="True"></asp:TextBox>
                                <asp:Label ID="lblError0" runat="server" Font-Bold="True" ForeColor="Red">*</asp:Label>
                            </td>
                            <td class="FormLineItemAlt" style="width: 110px">
                                <asp:Label ID="lblA" runat="server" Text="MRP EO Warning Point:" 
                                    Width="150px" />
                            </td>
                            <td class="FormLineItemAlt">
                                <asp:TextBox ID="txtA"  OnKeyPress="return isNumberKey(this, event);" runat="server" MaxLength="90"></asp:TextBox>
                                <asp:Label ID="lblErrorA" runat="server" Font-Bold="True" ForeColor="Red">*</asp:Label>
                                <asp:TextBox ID="txtC" runat="server" MaxLength="90" 
                                    OnKeyPress="return isNumberKey(this, event);"></asp:TextBox>
                                <asp:Label ID="lblErrorC" runat="server" Font-Bold="True" ForeColor="Red">*</asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="FormLineItem" valign="top">
                                <asp:Label ID="lblContactPerson" runat="server" Text="OC:" />
                            </td>
                            <td class="FormLineItem" valign="top">
                                <asp:TextBox ID="txtOC"  OnKeyPress="return isNumberKey(this, event);" runat="server" MaxLength="90"></asp:TextBox>
                                <asp:Label ID="lblError1" runat="server" Font-Bold="True" ForeColor="Red">*</asp:Label>
                            </td>
                            <td class="FormLineItem" valign="top">
                                <asp:Label ID="lblB" runat="server" Text="MRP Order Quantity:" />
                            </td>
                            <td class="FormLineItem">
                                <asp:TextBox ID="txtB"  OnKeyPress="return isNumberKey(this, event);" runat="server" MaxLength="90"></asp:TextBox>
                                <asp:Label ID="lblErrorB" runat="server" Font-Bold="True" ForeColor="Red">*</asp:Label>
                                <asp:TextBox ID="txtD" runat="server" MaxLength="90" 
                                    OnKeyPress="return isNumberKey(this, event);"></asp:TextBox>
                                <asp:Label ID="lblErrorD" runat="server" Font-Bold="True" ForeColor="Red">*</asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="FormLineItemAlt">
                                <asp:Label ID="lblImcome" runat="server" Text="LT:"></asp:Label>
                            </td>
                            <td class="FormLineItemAlt">
                                <asp:TextBox ID="txtLT" runat="server" 
                                    OnKeyPress="return isNumberKey(this, event);" ></asp:TextBox>
                                <asp:Label ID="lblError2" runat="server" Font-Bold="True" ForeColor="Red">*</asp:Label>
                            </td>
                            <td class="FormLineItemAlt">
                                &nbsp;</td>
                            <td class="FormLineItemAlt">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td class="FormLineItem">
                                <asp:Label ID="lblAge" runat="server" Text="Series:"></asp:Label>
                            </td>
                            <td class="FormLineItem">
                                <asp:TextBox ID="txtSeries" runat="server" 
                                    ></asp:TextBox>
                                <asp:Label ID="lblError3" runat="server" Font-Bold="True" ForeColor="Red">*</asp:Label>
                            </td>
                            <td class="FormLineItem">
                                &nbsp;</td>
                            <td class="FormLineItem">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td class="FormLineItemAlt" valign="top">
                                &nbsp;</td>
                            <td class="FormLineItemAlt">
                                &nbsp;</td>
                            <td class="FormLineItemAlt">
                                &nbsp;</td>
                            <td class="FormLineItemAlt">
                                &nbsp;</td>
                        </tr>
                       
                    </table>
                </div>
                <table width="100%" border="0">
                    <tr>
                        <td>
                            <table style="width: 100%">
                                <tr>
                                    <td style="width: 220px;">
                                        <asp:Button ID="btnUpdate" runat="server" Text="Update" OnClick="btnUpdate_Click"
                                            Style="background-image: url('/Images/bgButton.png'); background-repeat: no-repeat;
                                            color: White;" BorderStyle="Solid" Width="100px" />
                                    </td>
                                    <td>
                                        <asp:Label ID="lblError" runat="server" Visible="False" Font-Bold="True" ForeColor="Red"></asp:Label>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
</asp:Content>
